import request from "../utils/request";

//http://localhost:8080
export function findEntryByPage161(currentPage, pageSize, title, categoryId) {
  return new request({
    url: "entry/findEntryByPage161",
    method: "get",
    params: {
      currentPage,
      pageSize,
      title,
      categoryId,
    },
  });
}
//deleteEntryById161
export function deleteEntryById161(id) {
  return new request({
    url: "entry/deleteEntryById161",
    method: "get",
    params: {
      id,
    },
  });
}
//updateoradd161
export function updateoradd161(entry) {
  return new request({
    url: "entry/updateoradd161",
    method: "post",
    data: entry,
  });
}
